﻿using AutoMapper;
using Business.BookManagement.Dto;
using Business.Models;
using Business.ProductManager.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.ProductManager
{
    public class ProductAutoMapperProfile : Profile
    {
        public ProductAutoMapperProfile()
        {
            CreateMap<Product, ProductDto>();
            CreateMap<CreateOrUpdateProductDto, Product>();
        }
    }
}
